#include <iostream>
#include <cstdio>
#include <algorithm>

#define MAXN 35

using namespace std;

int item[MAXN];     int dp[MAXN]

int main(){
    int cnt;    int contain;
    cin >> contain >> cnt;
    for (int i = 1; i <= cnt; i++){
        scanf("%d",&item[i]);
    }
    
    return 0;
}